package inoderesolver

import (
	"git.cloud.inspur.com/ichain/ichain-sdk-go/pkg/providers/context"
	"git.cloud.inspur.com/ichain/ichain-sdk-go/pkg/providers/ichain"
)

// Resolver event节点选择接口
type Resolver interface {
	Resolve(inodes []ichain.Inode) (ichain.Inode, error)
}

// Provider 节点选择函数
type Provider func(context context.Client, chainID string) Resolver
